// import {req} from '@/network/request'
import {getRequest, postRequest} from "./interface";

// export function task11(){
//     return req({
//         url: 'task1',
//         method: 'get'
//     })
// }

export function getTest() {
    return getRequest('/get?name=abcque&age=18^&gender=M&method=get')
}

export function postTest() {
    return postRequest(
        "/post",
        {
            name: "abcque",
            age: 18,
            gender: "M",
            method:"post",
        }
    )

}

export function getDataTest() {
    return getRequest('/get?name=xyz&age=18^&gender=W')
}

